package com.cx.mall.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cx.mall.demo.model.UserLoginLog;
import com.cx.mall.demo.model.UserLoginLogDTO;

import java.util.List;

public interface IDemoUserLoginLogService extends IService<UserLoginLog> {
    /**
     * 查询用户的登陆日志
     */
    List<UserLoginLog> queryUserLoginLogByUserId(long userId);

    /**
     * 多条件查询
     */
    List<UserLoginLog> queryUserLoginLog(UserLoginLogDTO query);
}
